package cre.mybatis.mapper;

import cre.mybatis.domain.User;

import java.util.List;

/**
 * Created by CreGu on 2016/7/5.
 */
public interface UserMapper {
    public void insert(User user);

    public User findUserById(int id, String name);

    public List<User> findAll();

    void update(User user);
}
